package edu.zut.hys.base.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import edu.zut.hys.base.entity.Role;
import edu.zut.hys.base.service.RoleService;
import edu.zut.hys.base.mapper.RoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author houyingsheng
* @description 针对表【role】的数据库操作Service实现
* @createDate 2023-01-05 23:28:37
*/
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role>
    implements RoleService{
    @Autowired
    RoleMapper roleMapper;

    @Override
    public List<Role> listByRoleIds(List<Long> ids) {
        return roleMapper.selectBatchIds(ids);
    }
}




